﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace eShop.Core
{
    public partial interface IRDBSStrategy
    {
        #region 客户信息
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="_customerInfo"></param>
        /// <returns></returns>
        int CreateCustomer(CustomerInfo _customerInfo);
        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="_customerInfo"></param>
        void UpdateCustomer(CustomerInfo _customerInfo);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="cid"></param>
        /// <returns></returns>
        int DeleteCustomerById(int cid);
        /// <summary>
        /// 获取列表
        /// </summary>
        /// <returns></returns>
        DataTable GetCustomerList();

        #endregion
    }
}
